package com.aptech.bank.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Syspage entity. @author MyEclipse Persistence Tools
 */

public class Syspage implements java.io.Serializable {

	// Fields

	private Integer id;
	private Functions functions;
	private String control;
	private String url;
	private String img;
	private String name;
	private Set<JobFunc> jobFuncs = new HashSet<JobFunc>(0);

	// Constructors

	/** default constructor */
	public Syspage() {
	}

	/** full constructor */
	public Syspage(Functions functions, String control, String url, String img,
			String name, Set<JobFunc> jobFuncs) {
		this.functions = functions;
		this.control = control;
		this.url = url;
		this.img = img;
		this.name = name;
		this.jobFuncs = jobFuncs;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Functions getFunctions() {
		return this.functions;
	}

	public void setFunctions(Functions functions) {
		this.functions = functions;
	}

	public String getControl() {
		return this.control;
	}

	public void setControl(String control) {
		this.control = control;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getImg() {
		return this.img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set<JobFunc> getJobFuncs() {
		return this.jobFuncs;
	}

	public void setJobFuncs(Set<JobFunc> jobFuncs) {
		this.jobFuncs = jobFuncs;
	}

}